package com.cutthroatcreations.woodenrailway;

public class User {
	
	private int id;
	private String email, pw, pwCon;

	public User(int id, String email, String pw) {
		super();
		this.id = id;
		this.email = email;
		this.pw = pw;
	}

	public User(String email, String pw) {

		this.email = email;
		this.pw = pw;

	}
	
	public User(String email, String pw, String pwCon) {

		this.email = email;
		this.pw = pw;
		this.pwCon = pwCon;

	}
	
	public int getId() {
		return id;
	}

	public String getEmail() {
		return email;
	}

	public String getPw() {
		return pw;
	}
	
	public String getPwCon() {
		return pwCon;
	}
	
	public boolean pwMatch(){
		return (pw.equals(pwCon)) ? true : false;
	}

}
